package com.itsu.vtalk.service;

import com.itsu.vtalk.entity.Message;

import java.util.List;

/**
 * @author suben
 * @createtime 2020/6/20 16:13
 */
public interface MessageService {

    void saveUserMessage(Message message) throws Exception;

    List<Message> getLast30DaysMessage(String fromUserId, String toUserId) throws Exception;

    List<Message> getLast30DaysGroupMessage() throws Exception;
}
